package com.bto.solar.work.common;

import com.bto.solar.work.constant.BizCode;
import com.bto.solar.work.utils.StringUtils;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class BizLoginException extends BizException {

    /**
     *通用业务异常
     */
    private final Integer code;
    /**
     *异常信息
     */
    private final String errMsg;

    public BizLoginException(Integer code , String errMsg){
        super(errMsg);
        this.code = code;
        this.errMsg = errMsg;
    }

    public Integer getCode() {
        return code;
    }

    public String getErrMsg() {
        return errMsg;
    }

}
